package com.ly.springcloud.service;

import com.ly.springcloud.entities.Payment;
import org.apache.ibatis.annotations.Param;

/**
 * @Author: liangyuan
 * @Date: 2020/10/27 11:29:39
 * @Description: 支付模块业务逻辑层
 */
public interface PaymentService {
    /**保存Payment对象*/
    public int savePayment(Payment payment);

    /**通过Id查询Payment对象*/
    public Payment getPaymentById(@Param("id") Long id);
}
